
//login.html页面的拼车车和叫车车按钮

function ToPcc() {

    if (location.search == '') {

        alert('请登录')
    } else {

        location.href = "/static/user.html" + location.search;
    }

}

function ToJcc() {

    if (location.search == '') {

        alert('请登录')
    } else {

        location.href = "/static/user.html" + location.search + "&jcc=1";
    }

}

function data_history() {
    if (location.search == '') {

        alert('请登录')
    }
    location.href = '/static/history.html' + location.search
}